package com.hospital.workstation.domain.vo;

import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hospital.common.annotation.ExcelDictFormat;
import com.hospital.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 生命体征视图对象 his_vital_signs
 *
 * @author whb
 * @date 2023-03-09
 */
@Data
@ExcelIgnoreUnannotated
public class HisVitalSignsVo {

    private static final long serialVersionUID = 1L;

    /**
     * 生命体征ID
     */
    @ExcelProperty(value = "生命体征ID")
    private Long id;

    /**
     * 病历号
     */
    @ExcelProperty(value = "病历号")
    private Integer medicalRecordNo;

    /**
     * 体征类型（脉搏Pulse 呼吸Breathing 收缩压SystolicBP 舒张压DiastolicBP 体温 Temperature）
     */
    @ExcelProperty(value = "体征类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "脉=搏Pulse,呼=吸Breathing,收=缩压SystolicBP,舒=张压DiastolicBP,体=温,T=emperature")
    private String signType;

    /**
     * 体征类型名称
     */
    private String signTypeStr;

    /**
     * 体征结果
     */
    @ExcelProperty(value = "体征结果")
    private String signResult;

    /**
     * 测量人工号
     */
    @ExcelProperty(value = "测量人工号")
    private String measureUserCode;

    /**
     * 测量时间
     */
    @ExcelProperty(value = "测量时间")
    private LocalDateTime measureTime;

    /**
     * 参考值
     */
    @ExcelProperty(value = "参考值")
    private String referenceValue;


}
